﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="LisaKohvik.aspx.cs" Inherits="Kohvik_LisaKohvik" %>

<%--MUUDETUD: SEE OSA SAI MUUDETUD HTML EDITOR'I LISAMISEKS! LK--%>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor" TagPrefix="HTMLEditor" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        #txtA
        {
            height: 107px;
            width: 300px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="X-Large" 
        Text="Uue kohviku lisamine:"></asp:Label>
    <br />
    <br />
    <asp:Label ID="Label2" runat="server" Text="Nimi:"></asp:Label>&nbsp;
    <asp:TextBox ID="tbNimi" runat="server"></asp:TextBox>
    <br />
    <br />
    <br />
    <asp:Label ID="Label3" runat="server" Text="Kirjeldus:"></asp:Label>&nbsp;
    <br />
    &nbsp;
    <%--MUUDETUD: SEE OSA SAI MUUDETUD HTML EDITOR'I LISAMISEKS! LK--%>
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <HTMLEditor:Editor ID="rteKirjeldus" runat="server" Height="30ex" Width="100%" />
    <%--<asp:TextBox ID="tbKirjeldus" runat="server" Height="109px" Rows="5" 
    style="margin-top: 0px" TextMode="MultiLine" Width="297px"></asp:TextBox>--%>
    <br />
    <br />
    <asp:Label ID="Label4" runat="server" Text="Pildi nimi koos laiendiga:"></asp:Label>&nbsp;
    <asp:TextBox ID="tbPilt" runat="server"></asp:TextBox>
    <br />
    <br />
    <asp:Label ID="Label5" runat="server" Text="Kohviku omanik:"></asp:Label>&nbsp;&nbsp;
    <asp:DropDownList ID="DropDownOmanik" runat="server">
    </asp:DropDownList>
    <br />
    <br />

    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
        Text="Lisa kohvik" />
    <br />
    <br />
    <asp:Label ID="lbTulemus" runat="server"></asp:Label>

</asp:Content>

